import request from '@/utils/request'

// 查询实施跟踪列表
export function listTracking(query) {
  return request({
    url: '/system/tracking/list',
    method: 'get',
    params: query
  })
}

// 查询实施跟踪详细
export function getTracking(trackId) {
  return request({
    url: '/system/tracking/' + trackId,
    method: 'get'
  })
}

// 新增实施跟踪
export function addTracking(data) {
  return request({
    url: '/system/tracking',
    method: 'post',
    data: data
  })
}

// 修改实施跟踪
export function updateTracking(data) {
  return request({
    url: '/system/tracking',
    method: 'put',
    data: data
  })
}

// 删除实施跟踪
export function delTracking(trackId) {
  return request({
    url: '/system/tracking/' + trackId,
    method: 'delete'
  })
}
